package core

import (
	"github.com/rivo/tview"
)

func RunUI() {
	app := tview.NewApplication()

	mainMenu := BuildMainMenu(app)

	if err := app.SetRoot(mainMenu, true).Run(); err != nil {
		panic(err)
	}
}
